//
//  HotCollectionViewCell.m
//  19-homework-homeOfCar
//
//  Created by 王道林 on 16/8/10.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "HotCollectionViewCell.h"
#import "UIImageView+WebCache.h"

@implementation HotCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setList:(List *)list
{
    _list = list;
    _lableName.text = list.name;
    [self.iamgeview sd_setImageWithURL:[NSURL URLWithString:list.img] placeholderImage:[UIImage imageNamed:@"3"]];
}

@end
